<template>
  <div>
    <van-tabbar route>
      <van-tabbar-item icon="wap-home-o" replace to="/indexx"
        >首页</van-tabbar-item
      >
      <van-tabbar-item icon="apps-o" replace to="/classify"
        >分类</van-tabbar-item
      >
      <van-tabbar-item icon="cart-o" replace to="/shopcar"
        >购物车</van-tabbar-item
      >
      <van-tabbar-item icon="user-o" replace to="/my">我的</van-tabbar-item>
    </van-tabbar>
    <router-view />
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: 0,
    };
  },
};
</script>
